﻿using BasicData.ErrorCode;
using MediatR;

namespace BasicData.Write.API.application.Command.User
{
    public class UserCreateCommand : IRequest<ApiResult<object>>
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string UserNickName { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>


        /// <summary>
        /// 字段明细编码
        /// </summary>
        public string? DictItemCode { get; set; }
        /// <summary>
        /// 字典明细名称
        /// </summary>
        public string? DictItemName { get; set; }


        public string Phone { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool Status { get; set; }
    }
}
